package com.city.service.supervise;

import com.city.domain.supervise.PubKeyPerson;

import java.util.List;

/**
 * @deprecation:
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-26 12:36
 */
public interface PubKeyPersonService {
    List<PubKeyPerson> getKeyPersonLimit(Integer limitPage, Integer limitNum, Integer status);


    List<PubKeyPerson> getKeyPersonLimit(Integer limitPage, Integer limitNum, Integer status, String search);

    List<PubKeyPerson> findAll(PubKeyPerson pubKeyPerson);

    Long count(PubKeyPerson pubKeyPerson);

    /**
     * @Author 何平
     * @Description //TODO 根据id查找
     * @Date 16:54 2018/8/23
     * @Param [id]
     * @return com.city.domain.supervise.PubKeyPerson
     **/
    PubKeyPerson findById(Integer id);

    /**
     * @Author 何平
     * @Description //TODO 根据姓名查找
     * @Date 16:54 2018/8/23
     * @Param [name]
     * @return com.city.domain.supervise.PubKeyPerson
     **/
    PubKeyPerson findByName(String name);
}
